<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); 

class Mesas extends CI_Controller {
	
	function __construct() {
		parent::__construct();
	
		# Carregando Models
		$this->load->model(
		array(
				'Ambiente'
			)
		);
	}
	
	/**
	* @name index()
	* @param void
	* @return void
	* @see Ambientes
	* @since 28/05/2013
	* @author Carlos Augusto Dugonski
	*/
	public function index() {
		if ($this->index->logado() == 'administrador' || $this->index->logado() == 'mesa') {
			$this->index->montarPagina('mesa/mesa_view');
		} else {
			show_error(ERRO_PERMISSAO);
		}
    }
    
    /**
     * @name
     * @param
     * @param
     * @return
     * @see
     * @since
     * @author
     */
    public function criar(){
    }
    
    /**
     * @name
     * @param
     * @param
     * @return
     * @see
     * @since
     * @author
     */
    public function ler(){
    }
    
    /**
     * @name
     * @param
     * @param
     * @return
     * @see
     * @since
     * @author
     */
    public function atualizar(){
    }
    
    /**
     * @name
     * @param
     * @param
     * @return
     * @see
     * @since
     * @author
     */
    public function deletar(){
    	 
    }
    
    /**
     * @name
     * @param
     * @param
     * @return
     * @see
     * @since
     * @author
     */
    public function imprimir($iId){
    }
}

/* End of file Mesas.php */